package com.yuanfeng.goods.dto.es;

public enum ESCodeEnume {



    INDEX_CREATE_SUCCESS(1, "创建索引库成功"),
    INDEX_CREATE_FAIL(1, "创建索引库失败"),
    INDEX_DELETE_SUCCESS(1, "删除索引库成功"),
    INDEX_DELETE_FAIL(1, "删除索引库失败"),
    DATA_DELETE_SUCCESS(1,"数据删除成功"),
    INPUT_SUCCESS(1,"导入成功"),
    INPUT_FAIL(1,"导入失败"),
    DELETE_SUCCESS(1,"删除成功"),

    ;
    private int code;
    private String msg;

    ESCodeEnume(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
